package com.zhangmeng.tools.dto;


/**
 * @author zhangmeng
 * @version 1.0
 * @date 2024-03-07 16:31
 */

public class BucketFile {

    private String bucketName;
    private String fileName;
    private boolean isDir;
    private Long size;
    private String url;

    public BucketFile() {
    }

    public BucketFile(String bucketName, String fileName, boolean isDir, Long size, String url) {
        this.bucketName = bucketName;
        this.fileName = fileName;
        this.isDir = isDir;
        this.size = size;
        this.url = url;
    }

    public String getBucketName() {
        return bucketName;
    }

    public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public boolean isDir() {
        return isDir;
    }

    public void setDir(boolean dir) {
        isDir = dir;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
